package com.memorypalace.knowledge.mapper;

import java.util.List;

import com.memorypalace.knowledge.pojo.NoteConnect;

public interface NoteConnectMapper {
	Integer addNoteConnect(NoteConnect noteConnect);
	Integer modifyNoteConnect(NoteConnect noteConnect);
	Integer deleteNoteConnect(String noteConnectId);
	Integer deleteNoteConnectsByFatherKnowledgeId(String knowledgeId);
	Boolean deleteNoteConnectByNoteId(String noteId);
	Boolean deleteNoteConnectByPointToNoteId(String noteId);
	

	List<NoteConnect> getNoteConnectByFatherKnowledgeId(String knowledgeTreeId);

}
